Moving the embed frameworks build phase above run script worked for me as well.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: